package com.amado.course45mysql02.domain;

import java.util.List;

public class Page<T> {
	/**
	 * 有多少条数据
	 */
	private Integer count;
	/**
	 * 一共有多少页
	 */
	private Integer totalPage;
	/**
	 * 数据
	 */
	private List<T> data;
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	
}
